package com.ruoyi.UserLevelQs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 用户等级表 xyb_user_level_qs
 * 
 * @author ruoyi
 * @date 2019-08-19
 */
public class UserLevelQs extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private Integer id;
	/** 等级 */
	private Integer level;
	/** 等级名称 */
	private String levelName;
	/** 折扣 */
	private Double discount;
	/** 升级条件 */
	private String updateCondition;
	/** 状态 */
	private String state;
	/** 有效性控制 */
	private Integer valid;
	/** 建立日期 */
	private String createDate;
	/** 修改日期 */
	private String updateDate;
	/**  */
	private Integer packetsId;
	/**  */
	private Double jinbi;
	/** 优惠比例 */
	private String bili;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setLevel(Integer level) 
	{
		this.level = level;
	}

	public Integer getLevel() 
	{
		return level;
	}
	public void setLevelName(String levelName) 
	{
		this.levelName = levelName;
	}

	public String getLevelName() 
	{
		return levelName;
	}
	public void setDiscount(Double discount) 
	{
		this.discount = discount;
	}

	public Double getDiscount() 
	{
		return discount;
	}
	public void setUpdateCondition(String updateCondition) 
	{
		this.updateCondition = updateCondition;
	}

	public String getUpdateCondition() 
	{
		return updateCondition;
	}
	public void setState(String state) 
	{
		this.state = state;
	}

	public String getState() 
	{
		return state;
	}
	public void setValid(Integer valid) 
	{
		this.valid = valid;
	}

	public Integer getValid() 
	{
		return valid;
	}
	public void setCreateDate(String createDate) 
	{
		this.createDate = createDate;
	}

	public String getCreateDate() 
	{
		return createDate;
	}
	public void setUpdateDate(String updateDate) 
	{
		this.updateDate = updateDate;
	}

	public String getUpdateDate() 
	{
		return updateDate;
	}
	public void setPacketsId(Integer packetsId) 
	{
		this.packetsId = packetsId;
	}

	public Integer getPacketsId() 
	{
		return packetsId;
	}
	public void setJinbi(Double jinbi) 
	{
		this.jinbi = jinbi;
	}

	public Double getJinbi() 
	{
		return jinbi;
	}
	public void setBili(String bili) 
	{
		this.bili = bili;
	}

	public String getBili() 
	{
		return bili;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("levelName", getLevelName())
            .append("discount", getDiscount())
            .append("updateCondition", getUpdateCondition())
            .append("state", getState())
            .append("valid", getValid())
            .append("createDate", getCreateDate())
            .append("updateDate", getUpdateDate())
            .append("packetsId", getPacketsId())
            .append("jinbi", getJinbi())
            .append("bili", getBili())
            .toString();
    }
}
